package br.com.ordersys.web.client.modules.broker;

import com.google.gwt.xml.client.Element;

public class ServiceCall {
	private String endPointName;
	private String operationName;
	private Element serviceBody;
	private CallBack responseCallBack;
	private boolean handleErrors;

	public ServiceCall(String endPointName, String operationName) {
		this.endPointName = endPointName;
		this.operationName = operationName;
	}

	public CallBack getCallBack() {
		return responseCallBack;
	}

	public void setResponseCallBack(CallBack callBack) {
		this.responseCallBack = callBack;
	}

	public String getEndPointName() {
		return endPointName;
	}

	public String getOperationName() {
		return operationName;
	}

	public Element getServiceBody() {
		return serviceBody;
	}

	public void setServiceBody(Element serviceBody) {
		this.serviceBody = serviceBody;
	}

	public boolean isHandleErrors() {
		return handleErrors;
	}

	public void setHandleErrors(boolean handleErrors) {
		this.handleErrors = handleErrors;
	}
}
